package org.openclinic.service;

import java.util.List;

import org.openclinic.domain.Customer;
import org.openclinic.to.CustomerSearchResult;

public interface CustomerService {
	
	void delete(long id);
	
	Customer find(long id);
	
	List<Customer> list();
	
	Customer save(Customer customer);
	
	List<CustomerSearchResult> search(String term);
}
